package com.xbongbong.saas.domain.entity.ext;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.saas.enums.ProjectLogEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * @author long.rao
 * @version v1.0
 * @date 2019/1/24 20:59
 * @since v1.0
 */
@Setter
@Getter
public class CustomerCommunicateEntityExt extends PaasFormDataEntityExt {

    private static final long serialVersionUID = 2141500829241270370L;
    /**
     *  项目日志类型（0：跟进记录）
     *  {@link ProjectLogEnum}
     */
    private Integer logType;
    /**
     * 原始id
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Long originalId;

    public CustomerCommunicateEntityExt() {
        this.logType = 0;
        this.setData(new JSONObject());
    }

}
